home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / bkdr10.zip / BACKDOOR.DOC < prev    next >
Text File  |  1991-11-11  |  2KB  |  39 lines

  1.                 Documentation for
  2.             BACKDOOR.COM version 1.0
  3.                 by Duane Paulson
  4.  
  5. At times, the impulse to program an endless loop into a batch file can be
  6. almost overwhelming. Anyone who has done this, however, knows one sad fact.
  7. Endless loops in batch files can be darn near unbreakable. Usually, you end
  8. up rebooting the machine to get out of them. BACKDOOR.COM was designed to
  9. help you avoid all that.
  10.  
  11. With BACKDOOR, you have two seconds during which to press any key to exit your
  12. batch file. The implementation is simple enough ... testing is done via DOS
  13. errorlevel, as is traditional with batch files. If BACKDOOR termiates without
  14. a key being pressed, an errorlevel of zero is returned. If the user presses
  15. a key, an errorlevel of 255 is returned, allowing you to install a breakout
  16. point in your program, and still maintain the unbroken flow of the endless
  17. loop.
  18.  
  19. SYNTAX: Usage is simplicity itself. All you need do is place the following
  20. lines in your batch file:
  21.  
  22.         BACKDOOR
  23.         IF ERRORLEVEL 255 GOTO END_LABEL
  24.  
  25. You will then have a two-second (approximate) pause during which to press a
  26. key to break out of the endless loop. During this pause, a message will be
  27. displayed to the screen:
  28.  
  29.         Backdoor (version number) is open...
  30.  
  31. The message will be erased when the program terminates. To suppress the display
  32. of this message, use the following line in your batch file:
  33.  
  34.         BACKDOOR > MUL
  35.  
  36. That's all there is to it. BACDOOR is a public domain utility. Use, distribute,
  37. and enjoy.
  38.  
  39.